<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;

class SwtTyGoodsImage extends Model
{
	use HasDateTimeFormatter;

    protected $table = 'swt_ty_goods_images';

    protected $guarded = [];

    public function tyGood()
    {
        return $this->belongsTo(SwtTyGood::class, 'goods_id');
    }

}
